import http from '@/server/request'

const api = 'https://api.wxls.pro/art'

/**
 * 根据id查询通用分享模板
 * @@param {Number} id id  
 */
export const share = async (id) => {
  let header = {
    auth: true,
  };
	return await http.request({
    baseUrl: api,
    url: `/apiPass/sharing/${id}`,
    method: 'GET',
    header,
  })
}
